import type { WesureInfoDto } from '@/api/company/types'

export interface WesureAuditDto {
  id: number
  serveCompanyName: string
  contacts: string
  phone: string
  contactsId: null
  companyId: number
  companyName: string
  creditCode: null
  isNotDefault: number
  isNeedIdcardPhoto: number
  isDelete: number
  auditStatus: number
  wesureTimeDayShiftAudit: null
  wesureTimeNightShiftAudit: null
  area: string
  isOpenAdvance: number
  paymentAmountCap: null
  isShowContacts: number
  createTime: string
  createUserId: number
  isOpenWesure: number
  isOpenInsur: null
  isOpenAllDayWesure: number
  type: null
  searchOpenWesure: null
  updateTime: string
  updateUserId: number
  params: Params
  ppCount: null
  pwCount: null
  ids: null
  wesureType: null
  wesureTypeName: null
  wesureInfo: WesureInfoDto
  wesureTimeAddList: null
  companyIsOpenWesure: number
  insureCompanyType: null
  productType: null
  serveCompanyVideoURL: null
  remark: string
  isConfigAdvance: null
  rejectRemark: null
  salesName: string
  applyTime: string
  payServeCompanyEnsureDetailVO: null
  approvalProcessList: null
  projectCount: null
  isPcAdmin: null
}

interface Params2 {
}

interface Params {
  file: string[]
}


export interface WesureRecordDto {
  id: null
  amount: number
  amountCount: null
  planName: null
  colour: null
  industryPlanName: null
  costAmount: number
  comboName: string
  comboCode: string
  companyId: number
  companyName: string
  projectId: number
  projectName: null
  authenticateRecordId: null
  insureCompany: string
  insurCompanyName: null
  userId: null
  serveCompanyId: number
  credentialType: null
  insureDay: string
  requestId: null
  resultMsg: null
  policyStatus: null
  policyStatusList: null
  policyStatusInProgress: boolean
  elePolicyStatus: null
  isDelete: null
  isPro: null
  isSuccess: null
  insureCompanyType: string
  createTime: null
  expiredTime: null
  createUserId: null
  phone: null
  userName: null
  userHeadUrl: null
  idCardNo: null
  effectiveTime: null
  insurePeoples: number
  serveCompanyName: string
  planAlias: null
  industryTypeCode: null
  age: number
  sex: number
  beginInsureDay: null
  endInsureDay: null
  wesurePolicyNo: null
  policyNo: null
  insuCompanyName: null
  subMchid: null
  policyStatusMsg: null
  policyPeopleCount: null
  idList: null
  policyCount: null
  increaseRate: number
  params: Params
  insurStartTime: null
  insurEndTime: null
  queryDate: null
  productType: null
  searchText: null
  reportYear: null
  queryTimeType: null
  orderTime: null
  companyIds: null
  logId: null
  dailyCountKey: string
}

interface Params {
}

export interface DailyPlanDto {
  id: number
  insurCompany: string
  planCode: string
  planName: string
  type: number
  price: number
  companyId: number
  isDelete: number
  beginTime: null
  endTime: null
  createTime: string
  updateTime: null
  createUserId: number
  updateUserId: number
  companyName: string
  params: Params
}
